package com.ruoyi.system.dto.kujiale;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
@ApiModel(description = "分页对象")
public class PageResponse <T> {
    @ApiModelProperty(value = "数量", required = true, example = "1")
    private Integer count;

    @ApiModelProperty(value = "结果", required = true)
    private List<T> result;

    @ApiModelProperty(value = "总数", required = true)
    private Integer totalCount;

    @ApiModelProperty(value = "是否有更多", required = true)
    private boolean hasMore;
}
